﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Edit.Master" Inherits="System.Web.Mvc.ViewPage<Langben.DAL.firstProject>" %>

<%@ Import Namespace="Common" %>
<%@ Import Namespace="Models" %>
<asp:Content ID="Content4" ContentPlaceHolderID="CurentPlace" runat="server">
    修改 firstProject
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset>
        <legend>
            <input class="a2 f2" type="submit" value="修改" />
            <input class="a2 f2" type="button" onclick="BackList('firstProject')" value="返回列表" />
        </legend>
        <div class="bigdiv">
            <%: Html.HiddenFor(model => model.ID ) %>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.projectName) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.projectName) %>
                <%: Html.ValidationMessageFor(model => model.projectName) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.projectDate) %>：
            </div>
            <div class="editor-field">
                <%: Html.TextBox("projectDate", ((Model != null && Model.projectDate != null) ? Model.projectDate.ToString().AsDateTime().ToString("yyyy-MM-dd") : ""), new { style = "width: 244px;", @class="easyui-datebox" })%>
                <%: Html.ValidationMessageFor(model => model.projectDate) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.department) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.department) %>
                <%: Html.ValidationMessageFor(model => model.department) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.chargeMan) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.chargeMan) %>
                <%: Html.ValidationMessageFor(model => model.chargeMan) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.moneySource) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.moneySource) %>
                <%: Html.ValidationMessageFor(model => model.moneySource) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.totalMoney) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.totalMoney) %>
                <%: Html.ValidationMessageFor(model => model.totalMoney) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.moneyType) %>：
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.moneyType) %>
                <%: Html.ValidationMessageFor(model => model.moneyType) %>
            </div><%: Html.HiddenFor(model => model.CreateTime ) %><%: Html.HiddenFor(model => model.CreatePerson ) %>
            <br style="clear: both;" />
            <div class="editor-label">
                <%: Html.LabelFor(model => model.remark) %>：
            </div>
            <div class="textarea-box">
                <%: Html.TextAreaFor(model => model.remark) %>
                <%: Html.ValidationMessageFor(model => model.remark) %>
            </div>
        </div>
    </fieldset>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    
    <script type="text/javascript">

        $(function () {
            

        });
              

    </script>
</asp:Content>

